import { number } from 'echarts';
import { defineStore } from 'pinia';

export const template17Store = defineStore('template17Store', {
  state: () => ({
    shading: 'https://static.jiyi.show/template/template17/shading01.png',
    shadingWap: 'https://static.jiyi.show/template/template17/wap/shadingWap01.png',
    navFlag: false,
    infoData: Array<any>,
    unitData: {
      unitIdx: '',
      img: [],
      index: 0,
      type: 1,
    },
    nextUnit: Array<any>,
    imgList: [],
    imgListWap: [],
    tem17Index: 0,
    ExhibitsData: Array<any>,
    checkCom: 0,
    UnitWheel: true,
    ExListFlag: true,
    navUnit: false,
    otherNavRecords: null,
    pageNo: {
      page: 1,
    },
    navRecords: null,
    childrenFlag:false,
  }),
  actions: {},
  persist: true,
});

export default 'template17Store';
